package com.zero.jewelry.domain;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.zero.common.annotation.excel.Excel;
import com.zero.common.core.domain.base.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;



/**
 * 产品分类关联对象 product_category_rel
 *
 * @author cai-xu-kun
 * @date 2025-07-30
 */
@Data
@ToString
@NoArgsConstructor
@AllArgsConstructor
public class ProductCategoryRel extends BaseEntity {
    /** 产品ID */
    private Long productId;

    /** 分类ID */
    private Long categoryId;

    /** 创建时间 */
    private Date createTime;

    public ProductCategoryRel(Long productId, Long categoryId) {
        this.productId = productId;
        this.categoryId = categoryId;
    }


}
